package com.huahang.fashionpress.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Author: 阿俊哥
 * @Date: 2019/8/29 14:38
 * @Version 1.0
 */
@Component
public class WebSocketConfig {

    @Bean
    public ServerEndpointExporter getServerEndpointExporter(){
        return  new ServerEndpointExporter();
    }
}
